<div class="well sidebar-nav">
    <ul class="nav nav-list">
        <li class="nav-header">menu</li>
        <~foreach from="$resources" item="col" ~>
        <li><a href="/<~$col.name~>"><~$col.name~></a></li>
        <~/foreach~>
    </ul>
</div>